Skip to content

Conversation

WangzJi
Copy link
Contributor

@WangzJi WangzJi commented Aug 8, 2025

Description

fixes: #2859

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Snapshots:

Include snapshots for easier review.

Checklist:

  • My code follows the style guidelines of this project
  • I have already rebased the commits and make the commit message conform to the project standard.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • Any dependent changes have been merged and published in downstream modules

WangzJi and others added 2 commits August 1, 2025 11:04
…format issues

This commit addresses two main issues reported in eosphoros-ai#2859:

1. **Multiple Chat Windows**: AWEL workflows were creating a new conversation
   window for each interaction instead of reusing the same conversation.
   Fixed by changing chat_mode from 'chat_agent' to 'chat_flow' when
   initializing flow conversations.

2. **JSON Response Display**: AWEL workflow responses were displaying as raw
   JSON instead of properly formatted content. Added specific handling for
   'chat_flow' scene in response processing to extract and format content
   appropriately.

Changes:
- web/components/flow/flow-card.tsx: Use correct chat_mode for flow conversations
- web/hooks/use-chat.ts: Add chat_flow scene handling for response formatting

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
… JSON and preserve user-selected chart type; normalize history on refresh; force chat_flow when select_param is present; strip 'data:' prefix and normalize newlines;
@WangzJi WangzJi changed the title Fix/awel workflow chat issues fix(web): awel workflow chat issues Aug 8, 2025
@github-actions github-actions bot added fix Bug fixes web Module: web labels Aug 8, 2025
@WangzJi WangzJi changed the title fix(web): awel workflow chat issues fix(web): Fix AWEL workflow JSON response format issue Aug 8, 2025
 reusing conversation IDs and updating dialogue creation logic
@WangzJi WangzJi marked this pull request as ready for review September 10, 2025 09:09
@WangzJi
Copy link
Contributor Author

WangzJi commented Sep 18, 2025

@chenliang15405 PTAL.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fixes web Module: web

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] [AWEL Workflow] AWEL工作流对话会生成多个对话窗口

1 participant